package com.example.dell.zyfypt_122zzy.service;



import com.example.dell.zyfypt_122zzy.bean.ArticleBean;
import com.example.dell.zyfypt_122zzy.bean.ProjectBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by dell on 2017/4/19.
 */
//文章访问的Retrofit接口
public interface ProjectService {
@GET("api.php/lists/mod/{project}")
    Call<List<ProjectBean>> getResult(
        @Path("project") String project,
        @Query("page") int page,
        @Header("SessionID") String SessionID
);

}
